﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="Omabar.CMS.CMS.UserEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" type="text/css" href="../CSS/bootstrap_min.css" media="all" />
    <link rel="stylesheet" type="text/css" href="../CSS/bootstrap_responsive_min.css" media="all" />
    <link rel="stylesheet" type="text/css" href="../CSS/Style.css" media="all" />
    <link rel="stylesheet" type="text/css" href="../CSS/todc_bootstrap.css" media="all" />
    <link rel="stylesheet" type="text/css" href="../CSS/Themes.css" media="all" />
    <link rel="stylesheet" type="text/css" href="../CSS/inside.css" media="all" />
    <script type="text/javascript" src="../JavaScript/jquery.1.8.3.js"></script>
    <script type="text/javascript" src="../JavaScript/jquery.cookie.js"></script>
    <script type="text/javascript" src="../JavaScript/bootstrap.js"></script>
    <script type="text/javascript" src="../JavaScript/jquery_validate_min.js"></script>
    <script type="text/javascript" src="../JavaScript/jquery_validate_methods.js"></script>
    <script type="text/javascript" src="../JavaScript/jquery_form_min.js"></script>
    <script type="text/javascript" src="../JavaScript/inside.js"></script>
    <title></title>
    <link rel="shortcut icon" href="../favicon.ico" />
    <!--[if IE 7]><link href="../CSS/font_awesome_ie7.css" rel="stylesheet" /><![endif]-->
    <!--[if lte IE 9]><script src="../JavaScript/watermark.js"></script><![endif]-->
</head>
<body>
    <div id="main">
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div class="box">
                        <div class="box-title">
                            <div class="span10">
                                <h3><i class="icon-edit"></i>请编辑用户信息</h3>
                            </div>
                            <div class="span2"><a class="btn" href="Javascript:window.history.go(-1)">返回</a></div>
                        </div>

                        <div class="box-content">
                            <form action="../Handler/UserEdit.ashx" method="post" class="form-horizontal form-validate">
                                <div class="control-group">
                                    <label for="USER_NAME" class="control-label">用户名称：</label>
                                    <div class="controls">
                                        <input type="text" name="USER_NAME" id="USER_NAME" value="<%=user.USER_NAME%>" class="input-medium" data-rule-required="true"/><span class="maroon">*</span>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="USER_NIKENAME" class="control-label">用户昵称：</label>
                                    <div class="controls">
                                        <input type="text" name="USER_NIKENAME" id="USER_NIKENAME" value="<%=user.USER_NIKENAME%>" class="input-medium" data-rule-required="true"/><span class="maroon">*</span><span class="help-inline">
                                        </span>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="EMAIL" class="control-label">用户邮箱：</label>
                                    <div class="controls">
                                        <input type="text" name="EMAIL" id="EMAIL" class="input-medium" value="<%=user.EMAIL%>" data-rule-required="true" data-rule-email="true"/><span class="maroon">*</span>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="TELEPHONE" class="control-label">用户电话：</label>
                                    <div class="controls">
                                        <input type="text" name="TELEPHONE" id="TELEPHONE" value="<%=user.TELEPHONE%>" class="input-medium" data-rule-required="true" data-rule-phone="true"/><span class="maroon">*</span>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="USER_HEAD_IMG" class="control-label">用户头像：</label>
                                    <div class="controls">
                                        <input type="text" name="USER_HEAD_IMG" id="USER_HEAD_IMG" value="<%=user.USER_HEAD_IMG%>" class="input-medium" data-rule-required="true" readonly="readonly"/><span class="maroon">*</span>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="ENABLE" class="control-label">是否禁用：</label>
                                    <div class="controls">
                                        <input type="text" name="ENABLE" id="ENABLE" value="<%=user.ENABLE%>" class="input-medium" data-rule-required="true" data-rule-number="true" data-rule-max="1" data-rule-min="0"/>
                                        <span class="maroon">*(0为禁用，1为启用)</span>
                                    </div>
                                </div>
                                <div class="form-actions">
                                    <input type="hidden" name="USER_ID" value="<%=user.USER_ID%>" />
                                    <input type="hidden" name="PASSWORD" value="<%=user.PASSWORD%>" />
                                    <button type="submit" class="btn btn-primary">保存</button>
                                    <a class="btn" href="Javascript:window.history.go(-1)">取消</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>